/*
 * Plot2dTester.java
 *
 * Created on December 27, 2007, 2:17 PM
 */

package org.splot;


import org.splot.Plot2d;

/**
 *
 * @author  daniel
 */
public class Plot2dTester extends javax.swing.JFrame {
    
    /** Creates new form Plot2dTester */
    public Plot2dTester() {
        initComponents();
        test1();
    }
    
    public void test1()
    {
        Dimensions dims = new Dimensions(400,300,15);
        Plot2d plo = new Plot2d(dims);
        this.add(plo);
        this.pack();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.LINE_AXIS));

        pack();
    }// </editor-fold>//GEN-END:initComponents
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Plot2dTester().setVisible(true);
            }
        });
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables
    
}
